package com.abe.jetpack.model.entity.http

import android.arch.persistence.room.Entity
import android.arch.persistence.room.Ignore
import android.arch.persistence.room.PrimaryKey

@Entity
class AuthorEntity {
    @Ignore
    var children: List<String>? = null

    var courseId: Int = 0

    //@ColumnInfo(name = "id")
    @PrimaryKey
    var id: Int = 0

    var name: String? = null

    var order: Int = 0

    var parentChapterId: Int = 0

    var userControlSetTop: Boolean = false

    var visible: Int = 0
}